package com.liangxy.zhyl.mapper;

import com.liangxy.zhyl.entity.NursingProjectPlan;
import com.liangxy.zhyl.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {
    /**
     * 根据planId查询护理计划
     * @param id
     * @return
     */
    List<NursingProjectPlanVo> selectByPlanId(Long id);

    /**
     * 批量插入
     * @param list
     */
    void insertBatch(List<NursingProjectPlan> list);

    /**
     * 根据planId批量删除
     * @param id
     */
    void deleteByPlanId(Long id);
}
